/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package homework;

import java.util.List;
import java.util.List;

/**
 *
 * @author Administrator
 */
class Person2{
    public static void main(String[] args) {
        Person2 p1 = new Person2("张三","0771-2085011","长岗大道98号");
          Person2 p2 = new Person2("李四","0771-2085012","长岗大道98号");
            Person2 p3 = new Person2("王五","0771-2085013","长岗大道98号");

          ArrayList l = new ArrayList();
          l.add(p1);
          l.add(p2);
          l.add(p3);
          
          
          System.out.println("ArrayList 的元素是:");
          System.out.println(list);
    }

    private Person2(String string, String string0, String string1) {
        throw new UnsupportedOperationException("Not yet implemented");
    }
}

